<template>
  <div class="home">
    <div class="nav">
      <div class="logo">
        <img src="~@/assets/pic.png" />
      </div>
      <div>免费直播</div>
      <div>足球比分</div>
      <div>篮球比分</div>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "Home"
};
</script>
<style lang="less" scoped>
.nav {
  background-color: #393d49;
  color: #fff;
  display: flex;
  padding: 0 2.5rem;
  line-height: 55px;
  .logo {
    padding: 0 15px;
    img {
      width: 150px;
      vertical-align: -10%;
    }
  }
  > div {
    font-size: 1rem;
    font-weight: 700;
    width: 8rem;
    height: inherit;
  }
}
</style>